package com.edu.cdp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName category
 */
@TableName(value ="category")
@Data
public class Category implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    @Parameter(name = "id", description = "商品分类id")
    private Integer id;

    /**
     * 
     */
    @Schema(description = "商品分类名称")
    private String categoryName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}